package com.keba.otp.db;

import java.util.List;

import com.keba.otp.core.User;
/**
 * Users tablahoz tartozo DAO interfesz
 * @author bejmuller
 *
 */
public interface UsersDAO {
	List<User> getAllUsers();
	User getUserByName(String n);
	boolean insertUser(User u);
	boolean updatePassw(User u);
	boolean removeUser(User u);
	boolean updateSessionKey(User u);
	boolean updateOTP(User u);
	User getUserBySessionKey(String sk);
	User getUserByHash(String hash);
}
